package cn.edu.lingnan.demo1.demo1Service;

import cn.edu.lingnan.demo1.demo1Dao.UserMapper1;
import cn.edu.lingnan.demo1.demo1Dao.UserMapperOracleImpl1;

public class UserServiceOracleImpl1 implements UserService1 {

    @Override
    public void query() {
        System.out.println("Oracle的查询逻辑实现");
        UserMapper1 userMapperOracleImpl1=new UserMapperOracleImpl1();
        userMapperOracleImpl1.query();
    }

    @Override
    public void insert() {
        System.out.println("Oracle的插入逻辑实现");
        UserMapper1 userMapperOracleImpl1=new UserMapperOracleImpl1();
        userMapperOracleImpl1.insert();
    }

    @Override
    public void update() {
        System.out.println("Oracle的修改逻辑实现");
        UserMapper1 userMapperOracleImpl1=new UserMapperOracleImpl1();
        userMapperOracleImpl1.update();
    }

    @Override
    public void delete() {
        System.out.println("Oracle的删除逻辑实现");
        UserMapper1 userMapperOracleImpl1=new UserMapperOracleImpl1();
        userMapperOracleImpl1.delete();
    }
}